//
//  CC_Title_Model.m
//  HimalayaMountain
//
//  Created by dllo on 16/7/15.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "CC_Title_Model.h"

#import "CC_Recommend_Model.h"  // 大model 套 小model
@implementation CC_Title_Model

- (void)dealloc
{
    [_listArray release];
    [_title release];
    [super dealloc];
}

-(void)setValue:(id)value forUndefinedKey:(NSString *)key{
    
    if([key isEqualToString:@"list"]){
        
        self.listArray = [NSMutableArray array];
      
        for (NSDictionary *dic in value) {
            
            CC_Recommend_Model *model = [[CC_Recommend_Model alloc]initWithDic:dic];
            [self.listArray addObject:model];
            [model release];
            
            
        }
        
    }
    
    
    
}







@end
